package com.labofjet.blogv4.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

/**
 * blogv4主页
 * 
 * @author jyzjyz12@163.com
 *
 */
@Controller("/")
public class HomeController {

	@RequestMapping({ "/", "/index" })
	public String index(HttpServletRequest request) {
		HttpSession session = request.getSession();
		return "index";
	}
}
